@charset "utf-8";
.main {
    position: relative;
    overflow: hidden;
    height: 100%;
}
.view-header {
	line-height: 64px;
	z-index: 2000;
	width: 100%;
	height: 64px;
	background: #F0F2F3;
	position: absolute;
	top:0;
	box-shadow: 0 0 6px 0 rgba(0,0,0,.1),0 10px 12px 0 rgba(170,182,206,.2),inset 0 -1px 0 0 rgba(255,255,255,.3);
}
.logo {
    float: left;
    width: 250px;
    height: 64px;
    overflow: hidden;
    background-color: #5182E4;
}
.logo a{
    color: #fff;
    text-align: center;
    display: block;
}
.nav-function{
    overflow: hidden;
    float: left;
    margin-left: 52px;
}
.nav-href{
    overflow: hidden;
    float: right;
    margin-right: 52px;
}
.nav-href li{
    display: inline-block;
    margin-right: 5px;
}
.nav-href li a{
    height: 28px;
    line-height: 28px;
    display: block;
    padding: 0 8px;
    background: transparent;
    color: #5182E4;
    box-shadow: 0 0 0 2px rgba(81,130,228,.6) inset;
}
.nav-function li{
    float: left;
    height: 64px;
    cursor: pointer;
    font-weight: 700;
}
.nav-function li:hover{
    background: rgba(255,255,255,.6);
}
.nav-function li a{
    display: block;
    color: rgba(0,0,0,.6);
    line-height: 32px;
    font-size: 14px;
    margin: 16px;
}
.chart-left {
    position: fixed;
    top: 64px;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 220px;
    background: #e8ebed;
}
.chart-data-info {
    padding: 12px 16px 12px 0;
    position: relative;
    margin-left: 16px;
    box-shadow: inset 0 -1px 0 0 rgba(0,0,0,.06);
}
.chart-left h5,.chart-left .title-desc{
    font-size: 12px;
    font-weight: 400;
    height: 32px;
    line-height: 32px;
    margin: 0 -16px;
    padding: 0 16px;
    cursor: pointer;
}
.chart-right-margin{
	margin: 12px 16px;
}
.field-list li{
	height: 32px;
    line-height: 32px;
    cursor: pointer;
}
.chart-main {
    overflow-y: auto;
    min-width: 450px;
    height: calc(100% - 64px);
    margin: 64px 220px 0;
    z-index: 999;
    background-color: #F3F5F6;
    overflow-x: hidden;
}
.chart-args {
    position: relative;
    z-index: 100;
    min-width: 794px;
    padding: 4px 16px 0;
}
.chart-args .row {
    position: relative;
    padding: 1px 0 6px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    overflow: hidden;
    margin-left: 0;
}
.chart-args .axis-head {
    width: 65px;
    margin-top: 9px;
    height: 25px;
}
.chart-left-side {
    width: 175px;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
}
.filter-layer {
    width: 100%;
    padding: 16px 14px 12px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}
.filter-layer .hd {
    padding-bottom: 10px;
}
.filter-layer .bd{
    min-height: 200px;
    margin-top: 10px;
}
.filter-layer .bd .tag{
    height: 28px;
    line-height: 28px;
    display: block;
    max-width: 100%;
    padding-left: 10px;
    padding: 0 36px 0 10px;
    color: rgba(0,0,0,.6);
    background-color: #E8EBED;
}
.filter-layer .bd .tag-edit{
    position: absolute;
    top: 8px;
    right: 25px;
    cursor: pointer;
    background: url(../img/set.png) no-repeat;
    width: 12px;
    height: 12px;
}
.filter-layer .bd .tag-down{
    position: absolute;
    top: 13px;
    right: 10px;
    cursor: pointer;
    background: url(../img/n-down.png) no-repeat;
    width: 8px;
    height: 4px;
}
.filter-layer .filter_range{
    background: #fff;
    max-height: 210px;
    padding: 8px 0;
}
.filter-layer .filter_range.hide{
    display: none;
}
.filter-layer .filter_range ul li{
    line-height: 32px;
    position: relative;
    height: 32px;
    padding: 0 16px;
}
.filter-layer .filter_range ul li:not(:first-child):hover{
    background-color: #E8EBED;
}
.chart-right {
    position: fixed;
    z-index: 101;
    top: 64px;
    right: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 220px;
    background-color: #E8EBED;
}
.chart-right .block{
    position: relative;
    padding: 12px 0;
    margin-left: 16px;
}
.chart-right .chart-title .hd{
	line-height: 32px;
}
input[type=text]{
    border: 0!important;
    color: rgba(0,0,0,.82)!important;
    box-shadow: 0 -1px 0 0 rgba(81,130,228,.6) inset!important;
    background: none!important;
    font-size: 12px!important;
    box-sizing: content-box!important;
    height: 24px!important;
    border-radius: 0!important;
}
input[type=text]:focus{
    box-shadow: 0 -2px 0 0 #5182e4 inset!important;
    outline: 0!important;
}
#chartBox {
	float: left;
    min-width: 650px;
    min-height: 500px;
    border-left: 1px solid rgba(0,0,0,.1);
}
.chart_box{
	overflow: hidden;
}
#chartBox .chart{
    width: 600px;
    height: 400px;
    margin: 40px auto;
    background: #fff!important;
}
#chartBox .chart p{
    font-size: 12px;
    font-weight: bold;
    color: #60606a;
    text-align: center;
    line-height: 400px;
}
.field-list ul li i{
	background: url(../img/ico-type-number.png) no-repeat;
	width: 10px;
	height: 10px;
	display: inline-block;
	margin-right: 3px;
}
.field-list ul li i.ico-type-string{
	background: url(../img/ico-type-string.png) no-repeat;
	width: 8px;
	height: 10px;
}
.chart-args .drag-target-inner {
    min-width: 100px;
    min-height: 34px;
    overflow: hidden;
}
.chart-args .drag-target-list {
    min-height: 34px;
}
.drag-target-inner ul{
    overflow: hidden;
    width: 100%;
    height: 34px;
}
.drag-target-inner ul li{
    float: left;
    margin-top: 5px;
    height: 28px;
    line-height: 28px;
}
.drag-target-inner ul li .tag{
    color: #FFF;
    background-color: #5182E4;
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: 28px;
    line-height: 28px;
    padding: 0 5px;
    margin-right: 5px;
}
.tag:before {
    position: absolute;
    width: 0;
    height: 0;
    top: -5px;
    right: -5px;
    content: '';
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    border-color: transparent;
    border-style: solid;
    border-width: 5px;
    border-bottom-color: #e8ebed;
}
.tag:after {
    top: -4px;
    right: -4px;
    border-width: 4px;
    position: absolute;
    width: 0;
    height: 0;
    content: '';
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    border-color: transparent;
    border-style: solid;
    border-top-color: #F3F5F6;
    border-right-color: #F3F5F6;
    border-bottom-color: #F3F5F6;
}
.chart-right .block .bd {
    word-wrap: break-word;
    padding-right: 8px;
}
.chart-right .block .bd ul {
    width: 176px;
}
.chart-type li {
    display: inline-block;
    margin: 5px;
}
.chart-type a {
    display: block;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.chart-type a img{
    width: 100%;
}
.chart-type a:hover {
    background-color: rgba(255,255,255,0.6);
}
.chart-type a.active{
    background-color: #FFF;
    box-shadow: 0 0 0 2px rgba(81,130,227,.06),inset 0 0 0 2px rgba(81,129,228,.6);
}
.filter-layer .no-filter {
    padding-top: 30px;
    text-align: center;
    color: rgba(0,0,0,.38);
}
/*筛选弹框*/
.ngdialog {
    position: fixed;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    background: rgba(213,217,220,.94);
}
.ngdialog .ngdialog-content {
    width: 700px;
    background: #F0F2F3;
    color: rgba(0,0,0,.54);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1),0 16px 24px 0 rgba(170,182,206,.36);
    font-size: 12px;
    line-height: 1.5em;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    margin-top: 100px;
}
.ngdialog-content .ngdialog-title{
    line-height: 32px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 0 10px 24px;
}
.ngdialog-cancel{
    display: block;
    position: absolute;
    top: 13px;
    right: 16px;
    z-index: 100;
    cursor: pointer;
    background: url(../img/close.png) no-repeat;
    width: 12px;
    height: 12px;
}
.ngdialog-message{
    padding: 8px 32px;
}
.ngdialog-message ul{
    overflow: hidden;
    width: 100%;
    background: #F9F9FA;
}
.ngdialog-message ul li{
    float: left;
    width: 25%;
    color: rgba(0,0,0,.54);
}
.ngdialog-message ul li a{
    display: block;
    border-right: 1px solid transparent;
    border-top: 1px solid transparent;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    height: 150px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}
.ngdialog-message ul li:hover{
    background-color: #fff;
}
.ngdialog-message ul li.last-child a{
    border-right: 0;
}
#dataDialog .ngdialog-content{
    width: 520px;
}
#dataDialog .ngdialog-message{
    padding: 0;
}
#dataDialog ul li span.pic{
    width: 40px;
    height: 40px;
    margin: 30px auto 20px;
    display: block;
}
#dataDialog ul li span.pic_1{
    background: url(../img/data1.png) no-repeat;
}
#dataDialog ul li span.pic_2{
    background: url(../img/data2.png) no-repeat;
}
#dataDialog ul li span.pic_3{
    background: url(../img/data3.png) no-repeat;
}
#dataDialog ul li span.pic_4{
    background: url(../img/data4.png) no-repeat;
}
.filter-type-part {
    margin: 5px 0 15px;
}
.filter-type-part label{
    margin-right: 20px;
    display: inline-block;
}
.filter-type-part label span{
    display: inline-block;
    vertical-align: middle;
    height: 20px;
}
.filter-type-part label span input[type=radio]{
    height: 20px;
}
.ngdialog .bg-block {
    background-color: #FFF;
    box-shadow: 0 0 6px 0 rgba(0,0,0,.06),0 10px 12px 0 rgba(118,153,222,.1);
}
.bg-block .search-list, .add-list {
    width: 49%;
    float: left;
}
.clearfix{
    overflow: hidden;
}
.bg-block .block-head {
    margin: 11px 16px;
}
.bg-block .query-box{
    margin: 0 16px;
    position: relative;
}
.bg-block .query-box input[type=text]{
    width: 100%;
}
.query-box .query-btn {
    position: absolute;
    right: 0;
    top: 2px;
    cursor: pointer;
    background: url(../img/search.png) no-repeat;
    width: 13px;
    height: 13px;
}
.search-list ul {
    overflow: auto;
    box-sizing: border-box;
    width: 100%;
    height: 200px;
    padding: 8px 0;
}
.search-list ul li {
    position: relative;
    line-height: 32px;
    padding: 0 16px;
    margin: 0;
    color: rgba(0,0,0,.54);
}
.search-list ul li:hover{
    color: rgba(0,0,0,.87);
    background-color: rgba(232,235,237,.6);
}
.search-list ul li p{
    padding-left: 8px;
}
.search-list ul li p a{
    color: #5182e4;
    position: absolute;
    right: 20px;
}
